<script language='javascript' type='text/javascript' src="<?=base_url('blocks')?>scripts/block.js"></script>
<?php echo form_open($from_action, array('enctype'=>'multipart/form-data', 'name' =>'frm_course_provider')); ?>
<?if($msg){?><center><div class="messageBox"><?=$msg?></div></center><?}?>
<p align="center" style="font-weight:bold">ĐĂNG KÝ NHÀ CUNG CẤP</p>
<br />

<table border="0" cellspacing="0" cellpadding="0" class="infoTable" width="100%">
  <tr>
    <td width="160px">Tên Trung Tâm *:</td>
    <td id='infoInput' align='left'><input name="fullname" id="fullname" type="text" value="<?=h($fullname)?>" size="30" /><?=form_error('fullname');?></td>
  </tr>
  
  <tr>
    <td id='infoStr'>Email đăng nhập *:</td>
    <td id='infoInput' align='left'><input name="login_email" id="login_email" type="text" value="<?=h($login_email)?>" size="30" /><?=form_error('login_email');?></td>
  </tr>
  
  <tr>
    <td id='infoStr'>Mật khẩu *:</td>
    <td id='infoInput' align='left'><input name="password" id="password" type="password" value="" size="30" /><?=form_error('password');?></td>
  </tr>
  
  <tr>
    <td id='infoStr'>Xác nhận Mật khẩu *:</td>
    <td id='infoInput' align='left'><input name="repassword" id="repassword" type="password" value="" size="30" /><?=form_error('repassword');?></td>
  </tr>
  
  <tr>
    <td id='infoStr'>Image :</td>
    <td id='infoInput' align='left'>
    	<input type="file" size="30" name="imagepath" size="60" maxlength="255" />
    	<img name="image_url" id="image_url" src="<?=base_url()?>application/assets/admin/images/non.jpg" align="top" />   
			
    				
    </td>
  </tr>
  
  <tr>
    <td id='infoStr'>Địa chỉ:</td>
    <td id='infoInput' align='left'><input name="address" id="address" type="text" value="<?=h($address)?>" size="30" /></td>
  </tr>
  <tr>
    <td id='infoStr'>Liên kết:</td>
    <td id='infoInput' align='left'><input name="link" id="link" type="text" value="<?=h($link)?>" size="30" /></td>
  </tr>
  <tr>
    <td id='infoStr'>Thông tin khách hàng:</td>
    <td id='infoInput' align='left'>{infomation}</td>
  </tr>
  <tr>
    <td id='infoStr'>Người Liên Hệ:</td>
    <td id='infoInput' align='left'><input name="contact_person" id="contact_person" type="text" value="<?=h($contact_person)?>" size="30" /></td>
  </tr>
  <tr>
    <td id='infoStr'>Email Liên Hệ:</td>
    <td id='infoInput' align='left'><input name="email" id="email" type="text" value="<?=h($email)?>" size="30" /></td>
  </tr>
  <tr>
    <td id='infoStr'>Nick Yahoo:</td>
    <td id='infoInput' align='left'><input name="contact_yahoo" id="contact_yahoo" type="text" value="<?=h($contact_yahoo)?>" size="30" /></td>
  </tr>
  <tr>
    <td id='infoStr'>Nick skype:</td>
    <td id='infoInput' align='left'><input name="contact_skype" id="contact_skype" type="text" value="<?=h($contact_skype)?>" size="30" /></td>
  </tr>
  <tr>
    <td id='infoStr'>Điện Thoại bàn:</td>
    <td id='infoInput' align='left'><input name="phone" id="phone" type="text" value="<?=h($phone)?>" size="30" /></td>
  </tr>
  <tr>
    <td id='infoStr'>Điện Thoại DĐ:</td>
    <td id='infoInput' align='left'><input name="primary_phone" id="primary_phone" type="text" value="<?=h($primary_phone)?>" size="30" /></td>
  </tr>
  <tr>
    <td id='infoStr'>Mã bảo mật:</td>
    <td id='infoInput' align='left'><input name="sercurity_code" id="sercurity_code" type="text" value="<?=h($sercurity_code)?>" size="30" /></td>
  </tr>
  <tr>
    <td id='infoStr'>&nbsp;</td>
    <td id='infoInput' align='left'>
        <input type="button" value="Lưu" class="save_button" style="cursor:pointer" onclick="return saveItem(1)" />&nbsp;
        <input type="button" value="Quay về" class="cancel_button" style="cursor:pointer" onclick="go_home()" />
    </td>
  </tr>
</table>
<input type="hidden" name="course_provider_id" id="course_provider_id" />
</form>
